package ms.pms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Project Name: pms
 * File Name: MsPmsApplication
 * Package Name: ms.pms
 * Date: 2018/6/21  14:47
 * Copyright (c) 2018, tianyul All Rights Reserved.
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableCaching
@EnableTransactionManagement//如果mybatis中service实现类中加入事务注解，需要此处添加该注解
public class MsPmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(MsPmsApplication.class, args);
    }
}
